package com.wonders.hisdoctor.station.constant;

import com.wonders.hisdoctor.station.util.WdEditorHtmlUtils;

import java.io.File;

/**
 * 通用常量信息
 *
 * @author ruoyi
 */
public class Constants {
    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * 成功
     */
    public static final int SUCCESS = 1;

    /**
     * 失败
     */
    public static final int FAIL_1 = -1;

    /**
     * 失败
     */
    public static final int FAIL_2 = -2;

    /**
     * 失败
     */
    public static final int FAIL_3 = -3;

    /**
     * 停用
     */
    public static final Long DISABLE = 0L;

    /**
     * 启用
     */
    public static final Long ENABLE = 1L;

    // 构建真实的文件路径
    public static final String HTML_PATH = WdEditorHtmlUtils.getHtmlDirFile()+ File.separator;

    /**
     * 申请项目序号(检验项目表目前默认1条)
     */
    public static final int ITEM_NO = 1;


    /**
     * 验证
     */
    public static final String VALIDATE = "1";
    /**
     * 不验证
     */
    public static final String UN_VALIDATE = "0";

    /**
     * 过敏测试 阳性
     */
    public static final String POSITIVE = "2";

    /**
     * 疫苗操作类型---1：新增
     */
    public static final Long ADD = 1L;

    /**
     * 疫苗操作类型---2：修改
     */
    public static final Long UPDATE = 2L;

    /**
     * 疫苗操作类型---9：删除
     */
    public static final Long DELETE = 9L;

    /**
     * 疫苗供应标志：0-不可供 1-可供
     */
    public static final Integer NOT_AVAILABLE = 0;

    /**
     * 疫苗供应标志：0-不可供 1-可供
     */
    public static final Integer AVAILABLE = 1;

    /**
     * 疫苗_异常反应: 有, 无
     */
    public static final String NO = "无";
}
